/**
 * Copyright (c) 2009-2011, chunquedong(YangJiandong)
 * 
 * This file is part of ChunMap project
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
 * 
 * History:
 *     2010-05-05  Jed Young  Creation
 */
package chunmap.model.coord;


/**
 * 坐标
 * 
 * @author chunquedong
 * 
 */
public interface Position extends Comparable<Position>{

	public double getX();
	public double getY();
	public double getZ();
	
	public double distance2D(Position other);

	public boolean approximateEquals(Position other);
	public boolean equals(Object obj);
	public int hashCode();

	public Object clone();
	public boolean is3D();

}